<ion-view title="{{cph}}">
  <ion-nav-buttons side="left">
    <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ng-click="myGoBack()">返回</button>
  </ion-nav-buttons>

  <ion-content >

    <ion-refresher
        pulling-text="下拉刷新..."
        on-refresh="doRefresh()">
    </ion-refresher>

    <div ng-if="showloading" style="margin-top:60px; text-align: center">
      <ion-spinner icon="ios" style="height: 60px; width: 60px;"></ion-spinner>
    </div>

    <ion-list ng-if="showloading == false">
      <ion-item collection-repeat="clcx in clcxData" class="cydListItem" style="padding-top: 5px; padding-bottom: 5px;border-top-style: none;border-bottom-style: none;">
        <div class="ydList card list-inset" style="margin-bottom: 5px;">
          <div class="xuhao">

          </div>
            <label class="item item-input">
              <i class="list-input">承运单号：</i>
              <p>{{clcx.cydh}}</p>
              <img src="img/cyzt{{clcx.cyzt}}.png"class="zt">
            </label>
            <label class="item item-input">
              <i class="list-input">物流公司：</i>
              <p>{{clcx.bmmc}}</p>
            </label>
            <label class="item item-input">
              <i class="list-input">货名：</i>
              <p>{{clcx.hwmc}}</p>
            </label>
            <label class="item item-input">
              <i class="list-input">承运日期：</i>
              <p>{{clcx.cyrq}}</p>
            </label>
            <label class="item item-input">
              <i class="list-input">件数：</i>
              <p ng-if="clcx.hwsl!=''">{{clcx.hwsl}}件</p>
            </label>
          </div>
      </ion-item>
    </ion-list>

    <ion-infinite-scroll   on-infinite="loadMore()"  distance="1%" ng-if="hasNextPage()"></ion-infinite-scroll>

  </ion-content>
</ion-view>
